<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<script type="text/javascript">
	$(function(){
		$('#hasSub').collapse('show');
		$("#subMenu").find("li:not(.firstLi)").each(function(){
			if($(this).hasClass("active")){
				$(".firstLi").removeClass("active");
			}
		});
	});
</script>
<div id="sidebar" class="sidebar">
	<ul id="nav" class="nav">
		<li id="hasSub" class="has-sub">
			<a href="javascript:void(0);">
				<span>系统管理</span>
				<i class="fa fa-caret-right fa-fw pull-right"></i>
			</a>
			<ul id="subMenu" class="sub-menu">
				<li class="firstLi">
					<a href="${basePath}/product/toAddProduct">
						产品录入
					</a>
				</li>
				<li class="firstLi">
					<a href="${basePath}/home">
						产品查看
					</a>
				</li>
				<li class="firstLi">
					<a href="${basePath}/module/toAddModule">
						模块录入
					</a>
				</li>
				<li class="firstLi">
					<a href="${basePath}/module/toModulePage">
						模块查看
					</a>
				</li>
				<li class="firstLi">
					<a href="${basePath}/problemType/toAddProblemTypePage">
						问题类型录入
					</a>
				</li>
				<li class="firstLi">
					<a href="${basePath}/problemType/toProblemTypePage">
						问题类型查看
					</a>
				</li>
			</ul>
		</li>
		<li id="hasSub" class="has-sub">
			<a href="javascript:void(0);">
				<span>问题管理</span>
				<i class="fa fa-caret-right fa-fw pull-right"></i>
			</a>
			<ul id="subMenu" class="sub-menu">
				<li>	
					<a href="${basePath}/problem/toAddProblemPage">
						问题录入
					</a>
				</li>
				<li>
					<a href="${basePath}/problem/problemList">问题查看</a>
				</li>
			</ul>
		</li>
	</ul>
</div>